import { defineStore } from 'pinia';
import { ref } from 'vue';

export const useStompJsStore = defineStore('stompjs', () => {
  const currentState = ref<string>('');

  function changeCurrentState(value: string) {
    currentState.value = value;
  }

  return {
    changeCurrentState,
    currentState,
  };
});
